home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / vim / doc / amiga.doc next >
Text File  |  1995-03-09  |  2KB  |  51 lines

  1. This file contains the particularities for the Amiga version of Vim.
  2.  
  3. Installation on the Amiga:
  4. - Assign "vim:" to the directory where the vim.hlp file is (for the help 
  5.   command).
  6. - With DOS 1.3 or earlier: Put "arp.library" in "libs:". Make sure that
  7.   newcli and run are in "c:" (for executing external commands).
  8. - Put a shell that accepts a command with "-c" (e.g. "Csh" from Fish disk 
  9.   624) in "c:" or in any other directory that is in your search path (for 
  10.   executing external commands).
  11.  
  12. If you have sufficient memory you can avoid startup delays by making Vim and 
  13. csh resident with the command "rez csh vim". You will have to put 
  14. "rezlib.library" in your "libs:" directory. Under 2.0 you will need rez 
  15. version 0.5.
  16.  
  17. If you do not use digraphs, you can save some memory by recompiling without 
  18. the DIGRAPHS option. If you want to use Vim with other terminals you can 
  19. recompile with the TERMCAP option. Vim compiles with Manx 5.x and SAS 6.x.
  20. See the makefiles.
  21.  
  22. If you want to use different colors set the termcap codes:
  23.     t_ti (for inverted text)
  24.     t_tb (for bold text)
  25.     t_tp (for normal text after t_ti and t_tb)
  26.     t_so (for standout mode)
  27.     t_se (for normal text after t_so)
  28.  
  29. Standard ANSI escape sequences are used. The codes are:
  30. 30 grey char   40 grey cell   >0 grey background    0 all attributes off
  31. 31 black char  41 black cell  >1 black background   1 boldface
  32. 32 white char  42 white cell  >2 white background   2 faint
  33. 33 blue char   43 blue cell   >3 blue background    3 italic
  34. 34 grey char   44 grey cell   >4 grey background    4 underscore
  35. 35 black char  45 black cell  >5 black background   7 reverse video
  36. 36 white char  46 white cell  >6 white background   8 invisible
  37. 37 blue char   47 blue cell   >7 blue background
  38.  
  39. The codes with '>' must be the last. The cell and background color should be
  40. the same. The codes can be combined by separating them with a semicolon. For
  41. example to get white text on a blue background:
  42.     :set t_tp=^V<ESC>[0;32;43;>3m
  43.  
  44. When using multiple commands with a filter command, e.g.
  45.     :r! echo this; echo that
  46. Only the output of the last command is used. To fix this you have to group the
  47. commands. This depends on the shell you use (that is why it is not done
  48. automatically in Vim). Examples:
  49.     :r! (echo this; echo that)
  50.     :r! {echo this; echo that}
  51.